// src/controllers/user.ts
import { Context } from "koa";

export default class FileUpload {
    public static async upload(ctx: Context, next: any) {
        const path = ctx.request.files?.file as any;
        // console.log('path', path);

        ctx.request.body = path;
        await next(ctx);
    }
}
